3c6dd16f392d1e6e5d40bc2ad38d9805b97d616b,tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/actions/NewNodeDialog.java,NewNodeDialog,createDialogArea,#Composite#,56
Before Change
combo = new Combo(composite, SWT.DROP_DOWN);
combo.moveAbove(errorMessageText);
combo.setItems(allowedChildren.toArray(new String[0]));
combo.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL
| GridData.HORIZONTAL_ALIGN_FILL));
combo.addSelectionListener(new SelectionAdapter() {
After Change
combo = new Combo(composite, SWT.DROP_DOWN);
combo.moveAbove(errorMessageText);
if (allowedChildren!=null) {
combo.setItems(allowedChildren.toArray(new String[0]));
}
combo.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL
| GridData.HORIZONTAL_ALIGN_FILL));